a91fc4e4b199d887d1c8e7e8761648c06978a00f,oak-tarmk-standby/src/test/java/org/apache/jackrabbit/oak/plugins/segment/standby/ExternalPrivateStoreIT.java,ExternalPrivateStoreIT,setupSecondary,#File#,88
Before Change
@Override
protected FileStore setupSecondary(File d) throws IOException {
secondaryStore = getSecondaryStoreDir();
FileDataStore fds = new FileDataStore();
fds.setMinRecordLength(4092);
fds.init(secondaryStore.getAbsolutePath());
DataStoreBlobStore blobStore = new DataStoreBlobStore(fds);
return new FileStore(blobStore, d, 1, false);
}
private static File getSecondaryStoreDir() throws IOException {
After Change
}
@Override
protected FileStore setupSecondary(File d) throws IOException {
secondaryStore = createTmpTargetDir("ExternalStoreITSecondary");
return setupFileDataStore(d, secondaryStore.getAbsolutePath());
}
}